<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>scheme</title>
    <style>
      #shape {
        height: 400px;
        width: 400px;
        background: black;
        overflow: hidden;
      }
      #circle1,
      #circle2,
      #circle3,
      #circle4 {
        background: white;
        height: 800px;
        width: 800px;
        border-radius: 50%;
        position: relative;
      }
      #circle1 {
        top: -200px;
        right: -340px;
      }
      #circle2 {
        top: -1000px;
        left: -740px;
      }
      #circle3 {
        top: -2350px;
        left: -200px;
      }
      #circle4 {
        top: -2050px;
        left: -200px;
      }
      #shape:hover {
        background: red;
      }
    </style>
  </head>
  <body>
    <!-- 打开微信 -->
    <a href="weixin://">打开微信</a>

    <!-- 打开支付宝 -->
    <a href="alipays://">打开支付宝</a>

    <!-- 打开支付宝的扫一扫 -->
    <a href="alipays://platformapi/startapp?saId=10000007"
      >打开支付宝的扫一扫</a
    >

    <!-- 打开支付宝的蚂蚁森林 -->
    <a href="alipays://platformapi/startapp?appId=60000002"
      >打开支付宝的蚂蚁森林</a
    >

    <div id="click">点击</div>

    <div id="shape">
      <div id="circle1"></div>
      <div id="circle2"></div>
      <div id="circle3"></div>
      <div id="circle4"></div>
    </div>

    <script>
      let domClick = document.getElementById("click");
      domClick.addEventListener(
        "click",
        (event) => {
          console.log(event);
        },
        {
          once: true,
        }
      );
    </script>
  </body>
</html>
